package com.hoshiicloud.withdraw.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * (ContractPlatform)contract_platform
 *
 * @author makejava
 * @since 2019-08-21 17:31:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("contract_platform")
public class ContractPlatform extends Model<ContractPlatform> {
    
                /**
         * 主键
         */
    @TableId("id")
    private Integer id;
    
        /**
         * 签约平台名称
         */
    @TableField("name")
    private String name;
    
        /**
         * 每人月限额
         */
    @TableField("monthly_money_limit")
    private BigDecimal monthlyMoneyLimit;
    
        /**
         * 创建时间
         */
    @TableField("create_time")
    private Date createTime;
    
        /**
         * 修改时间
         */
    @TableField("update_time")
    private Date updateTime;
    
        /**
         * 是否删除
         */
    @TableField("is_del")
    private Byte isDel;
    
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}